BitCode\FI\Triggers\WC\WCController D

Total Complexity 278
Dependencies 5
Dependents 0
Total lines 1,921
Lines of code 1,724
Logical lines of code 558
Comment lines 24
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
fields()
D
8
26 779
accessSubscription()
C
34 27 85
handle_order_create()
B
38 20 66
get_trigger_field()
B
39 18 61
handle_subscription_status_change()
B
43 18 44
handle_product_action()
A
48 15 29
handle_order_status_change()
A
45 12 39
handle_order_update()
A
47 12 33
handle_subscription_trial_period_end()
A
48 11 33
handle_subscription_create()
A
48 11 32
handle_variable_product_order()
A
53 11 20
handle_subscription_expired()
A
49 10 29
handle_subscription_cancel()
A
49 10 29
accessOrderData()
A
35 6 87
handle_insert_comment()
A
46 9 34
metaboxFields()
A
46 7 39
handle_customer_update()
S
55 7 17
accessProductData()
S
41 4 56
handle_customer_delete()
S
61 5 11
handle_customer_create()
S
60 5 11
handle_booking_create()
S
56 4 16
getProductCategories()
S
54 3 21
getAll()
S
56 3 15
handle_order_delete()
S
62 4 10
getAllSubscriptions()
S
52 2 27
getWooCommerceProduct()
S
57 2 17
getUserInfo()
S
58 2 16
product_update()
S
67 3 7
product_create()
S
67 3 7
getSubscriptionStatus()
S
61 2 13
info()
S
53 1 22
formatUserMetaData()
S
68 2 7
getSubscriptionProduct()
S
76 1 4
getOrderStatus()
S
76 1 4
getVariationOfProduct()
S
75 1 4